package com.moshang.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moshang.blog.entity.SysUserRole;

import java.util.List;


/**
 * 
 *
 * @author moshang
 * @email 597575122@qq.com
 * @date 2018-09-21 14:45:09
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    List<SysUserRole> findByUserId(Integer id);

    void deleteByIds(List<Integer> idList);

    List<Integer> findByRoleId( Integer roleId);
}

